package cn.zhangxin.newyear.system.user.mapper;

import cn.zhangxin.newyear.system.user.domain.Login;
import cn.zhangxin.newyear.system.user.domain.User;
import cn.zhangxin.newyear.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2023-01-30
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    /* 邮箱查重 */
    User findOneByEmailUser(String email);
    /* 用户名查重 */
    User findOneByUsernameUser(String username);
}
